home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr35
/
qprn102.zip
/
KQ-PACK.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-04-25
|
1KB
|
28 lines
REM This batch file is for repacking QWK packets with versions of
REM KingQWK earlier than 1.05. First, replace [king_work] with the
REM work directory defined in KingQWK's configuration. Note that
REM the work directory must be entered in upper case.
REM
REM If you're passing one parameter to your packer, as in the line
REM PKZIP -A, the name of the QWK file will be %3, and %4 will be for the
REM files that are to be packed. If you're not passing any options, these
REM parameters will be %2 and %3, respectively. If you pass more than one
REM option to the packer, increase these parameter numbers by 1 for each
REM additional option. %1 is the name of your unpacker. The line
REM "%1 -d -k %3 *.ndx" deletes the old .NDX files from the QWK packet,
REM and presumes you're using PKZIP. You'll need to edit it if you're
REM using another packer.
REM
@echo off
if %4 == [king_work]\MESSAGES.DAT goto messages
if %4 == [king_work]\*.KRD goto bookmark
%1 %2 %3 %4 %5 %6 %7 %8 %9
goto endit
:messages
%1 -d -k %3 *.ndx
%1 %2 %3 %4 %5 %6 %7 %8 %9 [king_work]\*.ndx
goto endit
:bookmark
%1 %2 %3 %4 %5 %6 %7 %8 %9
:endit